/* FetchImagesText.css */

.image-modal {
    max-width: 1100px;
  }
  
  .image-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* 图片之间的空隙 */
    justify-content: space-between; /* 让图片均匀分布 */
    margin-top: 15px;
  }
  
  .image-grid img {
    width: calc(33.33% - 10px); /* 每行三张图片，去除空隙 */
    height: auto;
    max-height: 300px; /* 增加最大高度 */
    object-fit: cover; /* 填充图片容器，保持图片充满 */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
  }
  
  .image-grid img:hover {
    transform: scale(1.05); /* 鼠标悬停时放大 */
  }
  
  .modal-header {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 1;
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
  }
  